package com.pti.usermanager.web.dto.request;

import java.util.Date;

/**
 * @ClassName: UpdateRoleRequest
 * @Author: mahuilin
 * @Description: 添加角色请求类
 * @Date: 2019/1/17
 */
public class UpdateRoleRequest {

    /**
     * 角色ID
     */
    private Long roleId;
    /**
     * 角色姓名
     */
    private String roleNm;
    /**
     * 单位ID
     */
    private String compId;
    /**
     * 角色编码
     */
    private String roleCd;
    /**
     * 角色说明
     */
    private String roleDesc;
    /**
     * 角色类型编码
     */
    private String roleTypeCd;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 角色状态
     */
    private char roleStat;
    /**
     * 删除时间
     */
    private Date delTime;
    /**
     * 删除标识
     */
    private char delFlag;
    /**
     * 创建时间
     */
    private Date crtTime;
    /**
     * 修改时间
     */
    private Date uptTime;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleNm() {
        return roleNm;
    }

    public void setRoleNm(String roleNm) {
        this.roleNm = roleNm;
    }

    public String getCompId() {
        return compId;
    }

    public void setCompId(String compId) {
        this.compId = compId;
    }

    public String getRoleCd() {
        return roleCd;
    }

    public void setRoleCd(String roleCd) {
        this.roleCd = roleCd;
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }

    public String getRoleTypeCd() {
        return roleTypeCd;
    }

    public void setRoleTypeCd(String roleTypeCd) {
        this.roleTypeCd = roleTypeCd;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public char getRoleStat() {
        return roleStat;
    }

    public void setRoleStat(char roleStat) {
        this.roleStat = roleStat;
    }

    public Date getDelTime() {
        return delTime;
    }

    public void setDelTime(Date delTime) {
        this.delTime = delTime;
    }

    public char getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(char delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }

    public Date getUptTime() {
        return uptTime;
    }

    public void setUptTime(Date uptTime) {
        this.uptTime = uptTime;
    }

    @Override
    public String toString() {
        return "UpdateRoleRequest{" +
                "roleId='" + roleId + '\'' +
                ", roleNm='" + roleNm + '\'' +
                ", roleCd='" + roleCd + '\'' +
                ", compId='" + compId + '\'' +
                ", sort=" + sort +
                ", roleTypeCd='" + roleTypeCd + '\'' +
                ", roleStat=" + roleStat +
                ", roleDesc='" + roleDesc + '\'' +
                ", delTime=" + delTime +
                ", delFlag=" + delFlag +
                ", crtTime=" + crtTime +
                ", uptTime=" + uptTime +
                '}';
    }
}
